package com.piece.mall.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@NoArgsConstructor
@Table(name = "pms_spu_info_desc")
@ApiModel(value = "spu介绍")
public class PmsSpuInfoDesc implements Serializable {

    @Id
    @Column(name = "spu_id", length = 11)
    @ApiModelProperty(value = "spu主键")
    private Long spuId;

    @Column(name = "introduce")
    @ApiModelProperty(value = "商品介绍")
    private String introduce;
}
